﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Reflection;
using System.Collections.ObjectModel;
using EmbeddedLanguage.SubProcessors;
using EmbeddedLanguage.Attributes;

namespace EmbeddedLanguage
{
    [JSNamespaceSubstition(Namespace = ObjectEx.RootNS)]
    public static class ControlExt
    {

        //private static Expression<Action<Object>> __ControlExt = o => o
        //    .AssignStaticFunc_2x1(out _UpTo, _UpTo_expr)
        //    //.Associate_2x1(_UpTo, UpTo)
        //;

        //private static Expression<Func<int, int, Range>> _UpTo_expr = (Start, End) => 
        //    Core<Range>.ExecFunc(()=>
        //        new Range{ Start = Start, End = End });
        //private static Func<int, int, Range> _UpTo; //_expr_compiled = UpTo_expr.Compile();
        
        

        


    }

   

    

    
}
